package cn.com.xf.service;

import java.util.List;
import java.util.Map;

import cn.com.xf.domain.TblRegExpress;
import cn.com.xf.domain.TblRegVisitor;
import cn.com.xf.web.form.ExpressForm;
import cn.com.xf.web.form.VisitorForm;

public interface VisitorService {
	
	/*预约登记*/
	int appointDel(String vid);
	
	int appointAudit(VisitorForm form);
	
	int appointNew(VisitorForm form);
	
	int appointModify(VisitorForm form);
	
	int appointToVisit(VisitorForm form);
	
	int appointCount(String staffid,String vname,String status,String vaudit,String appointtimeStart,String appointtimeEnd);
	
	List<TblRegVisitor> appointList(int begin, int pageSize, String orderByField, String orderByMode,String staffid,String vname,String status,String vaudit,String appointtimeStart,String appointtimeEnd);
	
	/*访客登记*/
	TblRegVisitor visitorById(String vid);
	
	int visitorOut(String vid);
	
	int visitorNew(VisitorForm form);
	
	int visitorModify(VisitorForm form);
		
	List<TblRegVisitor> visitorList(int begin, int pageSize, String orderByField, String orderByMode,String username,String vname,String vid,String visittimeStart,String visittimeEnd);
	
	int visitorCount(String username,String vname,String vid,String visittimeStart,String visittimeEnd);
	
	List<TblRegVisitor> visitorReg(VisitorForm form);
	
	Map<String,Integer> visitorIntraday();
	
	/*快递登记*/
	TblRegExpress expressById(Integer id);
	
	int expressRepeatCount(String exnum);
	
	int expressNew(ExpressForm form);
	
	int expressModify(ExpressForm form);
		
	List<TblRegExpress> expressList(int begin, int pageSize, String orderByField, String orderByMode,String username,String exnum,String addtimeStart,String addtimeEnd);
	
	int expressCount(String username,String exnum,String addtimeStart,String addtimeEnd);

	int expressDel(ExpressForm form);
}
